package com.example.ivory.accountbook.Activity;
/*
* 作者：
* 时间：2016.8.27
*
*
*
*
* */
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ArrayAdapter;
import android.widget.ListView;

import com.example.ivory.accountbook.R;

public class chargeActivity extends AppCompatActivity {
    private String[]data ={"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q"};
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.add_activity);
        ArrayAdapter<String>adapter=new ArrayAdapter<String>(
                chargeActivity.this,android.R.layout.simple_list_item_1,data);
        ListView listView = (ListView)findViewById(R.id.listView);
        listView.setAdapter(adapter);
    }
}